package hospital.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import hospital.mapper.DoctorMapper;
import hospital.mapper.HospitalSetMapper;
import hospital.model.hosp.Doctor;
import hospital.model.hosp.HospitalSet;
import hospital.service.DoctorService;
import hospital.service.HospitalSetService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author
 * @description:
 */
@Service
public class DoctorServiceImpl extends ServiceImpl<DoctorMapper, Doctor> implements DoctorService {
    @Override
    public List<Doctor> getAllDoctor() {
        return baseMapper.selectList(new QueryWrapper<>());
    }
}
